#ifndef UPLOADPLUGIN_INTERFACE_H
#define UPLOADPLUGIN_INTERFACE_H

#include <QtPlugin>
#include <QObject>
#include <QString>

class UploadPluginInterface
{
public:

    virtual ~UploadPluginInterface() {}

   virtual void initInterface(int ppid, QString packageName, QString messageType, QString packageInfoIdFolderPath) = 0;
    /**
     * @brief UploadMessage
     * @param uploadedMessage 数据
     * @return -1 异常 0 正常
     */
   virtual int uploadMessage(QString uploadedMessage) = 0;

};

QT_BEGIN_NAMESPACE
#define UploadPluginInterface_iid "org.ukui.Plugin.UploadPluginInterface"
Q_DECLARE_INTERFACE(UploadPluginInterface, UploadPluginInterface_iid)
#endif // UPLOADPLUGIN_INTERFACE_H

